package com.test.javafaq_portal.service;

import com.test.javafaq_portal.entity.Comment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.test.javafaq_portal.vo.CommentVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author test.com
 * @since 2025-04-11
 */
public interface ICommentService extends IService<Comment> {

    //修改评论
    Comment upadateComment(Integer commentId,CommentVo commentVo,String username);

    //删除评论的方法
    boolean removeComment(Integer commentId,String username);

    //新增评论的方法
    Comment saveComment(CommentVo commentVo,String username);

}
